Abstr]
"Sybase database does not support subqueries, so ......", We often hear this in database development. Is Sybase really true? Let's go to the sybase database to see which subquery statements are supported and not supported respectively. Hope
Character numeric type:
Char, varchar, long varchar
Nchar, nvarchar, long nvarchar
-Compatible data types are implemented through domains: sysname (varchar (30), text (long varchar domain), ntext (long nvarchar domain), and XML (long
Sybase Date functionDate functionGETDATE ()Get the current time, can be set to get a variety of time formats.DATEPART (date part, date)Take a certain part of the specified time, month and day seconds.DateDiff (date part, date 1, date 2)Calculates
The solution is as follows:
The validity of the login is validated by using the stored procedure Sp_modifylogin provided by the characteristics of Sybase ASE.
First create a new user with high enough permissions to recover the SA in the future
A marketplace has been injected to obtain more than 500 million user information and more than 600 million merchant information.
User Data is leaked, and the mobile phone number of the ID card is exposed.
GET
When you create a table or declare a local variable, you must use the Sybase system predefined type.
1. Character type
Char (n) VarChar (n)
2. Numeric type
Integer type--integer SmallInt TinyInt
Floating-point type--real float number[p,s]
objective of this article: to guide the project side personnel to meet such change requirements, you can refer to the changes themselves. Requirement: Sybase database, normal table T_jingyu modified to partition table by day partition. 1.sp_help
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.